package theOrbalEra.client.OrbalArts.entity;

import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;

public class OrbalArtEntityForte extends OrbalArtEntityToOne {

	public OrbalArtEntityForte(World world, EntityPlayer player,EntityLiving entity) {
		super(world, player, entity);
		this.setPosition(target.posX, target.posY, target.posZ);
	}

	@Override
	protected void readEntityFromNBT(NBTTagCompound nbttagcompound) {
	}

	@Override
	protected void writeEntityToNBT(NBTTagCompound nbttagcompound) {
	}

	@Override
	protected void entityInit() {
	}

	@Override
	public void onUpdate() {
		this.ticksLived++;
		if(ticksLived==240){
			this.setDead();
			ticksLived=0;
			}
		this.setPosition(this.target.posX, this.target.posY, this.target.posZ);
	}

}
